<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script>
    // Math是一个内置对象
    console.log(typeof Math)
    //Math.random()
    //
    //console.log(Math.floor(3.14))
    //console.log(Math.ceil(3.14))
    //console.log(Math.round(3.46))

    //console.log(Math.sqrt(3))
    //console.log(Math.min(2, 3, 4, 5, -1))
    //console.log(Math.max())
    //console.log(Math.pow(2, 3))

    console.dir(window)

    //window.document
    //window.Function
    //console.log(window.String)

    //window.document
    console.log(window.document.doctype)

    //window.setTimeout


    alert("hello")
  </script>
</body>
</html>
